<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学生信息 - ${bean.name }</title>
<c:import url="/WEB-INF/jsp/head.jsp" />
</head>
<body>
	<div class="default-theme container-fluid iframe">
		<div class="col-md-8">
			<form id="student-form" class="form-horizontal">
				<div class="form-group">
					<label for="id" class="col-sm-2 control-label">学员编号</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="id"
							readonly="readonly" value="${bean.id }">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">内部编号</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" readonly="readonly"
							placeholder="内部编号" value="${bean.innerId }" />
					</div>
				</div>
				<div class="form-group">
					<label for="name" class="col-sm-2 control-label">学员姓名</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="name"
							readonly="readonly" value="${bean.name }">
					</div>
				</div>
				<div class="form-group">
					<label for="sex" class="col-sm-2 control-label">性别</label>
					<div class="col-sm-10">
						<select class="form-control" name="sex" disabled="disabled">
							<c:choose>
								<c:when test="${0 == bean.sex }">
									<option value="0">男</option>
								</c:when>
								<c:otherwise>
									<option value="1">女</option>
								</c:otherwise>
							</c:choose>
						</select>
					</div>
				</div>
				<div class="form-group">
					<label for="textBoxId" class="col-sm-2 control-label">教材编号</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="textBoxId"
							readonly="readonly" value="${bean.textBoxId }" />
					</div>
				</div>
				<div class="form-group">
					<label for="idNumber" class="col-sm-2 control-label">身份证号</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="idNumber"
							readonly="readonly" value="${bean.idNumber }" />
					</div>
				</div>
				<div class="form-group">
					<label for="tel" class="col-sm-2 control-label"> 联系电话 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="tel"
							readonly="readonly" value="${bean.tel }">
					</div>
				</div>
				<div class="form-group">
					<label for="education.value" class="col-sm-2 control-label">
						学历信息 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="education.value"
							readonly="readonly" value="${bean.education.name }" />
					</div>
				</div>
				<div class="form-group">
					<label for="school" class="col-sm-2 control-label"> 毕业学校 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="school"
							readonly="readonly" value="${bean.school }" />
					</div>
				</div>
				<div class="form-group">
					<label for="major" class="col-sm-2 control-label"> 毕业专业 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="major"
							readonly="readonly" value="${bean.major }" />
					</div>
				</div>
				<div class="form-group">
					<label for="address" class="col-sm-2 control-label"> 通信地址 </label>
					<div class="col-sm-10">
						<textarea class="form-control" name="address" placeholder="通信地址"
							readonly="readonly">${bean.address }</textarea>
					</div>
				</div>
				<div class="form-group">
					<label for="emergent" class="col-sm-2 control-label"> 紧急联系人
					</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="emergent"
							readonly="readonly" value="${bean.emergent }" />
					</div>
				</div>
				<div class="form-group">
					<label for="emergentContact" class="col-sm-2 control-label">
						紧急联系人联系方式 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="emergentContact"
							readonly="readonly" value="${bean.emergentContact }" />
					</div>
				</div>
				<div class="form-group">
					<label for="previousJob" class="col-sm-2 control-label">
						之前工作 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="previousJob"
							readonly="readonly" value="${bean.previousJob }" />
					</div>
				</div>
				<div class="form-group">
					<label for="joinWay" class="col-sm-2 control-label"> 报名方式 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="joinWay"
							readonly="readonly" value="${bean.joinWay }" />
					</div>
				</div>
				<div class="form-group">
					<label for="joinDate" class="col-sm-2 control-label"> 报名时间
					</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" readonly="readonly"
							name="joinDate"
							value="<fmt:formatDate pattern="yyyy-MM-dd" value="${bean.joinDate }" />" />
					</div>
				</div>
				<div class="form-group">
					<label for="intentionalCity" class="col-sm-2 control-label">
						意向城市 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="intentionalCity"
							readonly="readonly" value="${bean.intentionalCity }" />
					</div>
				</div>
				<div class="form-group">
					<label for="email" class="col-sm-2 control-label"> 电子邮箱 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="email"
							readonly="readonly" value="${bean.email }" />
					</div>
				</div>
				<div class="form-group">
					<label for="passCheck" class="col-sm-2 control-label"> 通行证
					</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="passCheck"
							readonly="readonly" value="${bean.passCheck }" />
					</div>
				</div>
				<div class="form-group">
					<label for="jobIntention" class="col-sm-2 control-label">学习方向</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="jobIntention"
							readonly="readonly" value="${bean.jobIntention }" />
					</div>
				</div>
				<div class="form-group">
					<label for="abnormal" class="col-sm-2 control-label">异常情况</label>
					<div class="col-sm-10">
						<textarea class="form-control" name="abnormal" placeholder="异常情况"
							readonly="readonly">${bean.abnormal }</textarea>
					</div>
				</div>
				<div class="form-group">
					<label for="evaluate" class="col-sm-2 control-label">评价</label>
					<div class="col-sm-10">
						<textarea class="form-control" name="evaluate" placeholder="评价"
							readonly="readonly">${bean.evaluate }</textarea>
					</div>
				</div>
				<div class="form-group">
					<label for="remarks" class="col-sm-2 control-label">备注</label>
					<div class="col-sm-10">
						<textarea class="form-control" name="remarks" placeholder="备注"
							readonly="readonly">${bean.remarks }</textarea>
					</div>
				</div>
				<div class="form-group">
					<label for="className" class="col-sm-2 control-label"> 班级 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="classes.name"
							value="${bean.classes.name }" readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<label for="status" class="col-sm-2 control-label"> 状态 </label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="classes.name"
							value="<c:choose><c:when test='${bean.status eq 0 }'>未选班</c:when><c:when test='${bean.status eq 4 }'>毕业</c:when><c:when test='${bean.status eq 5 }'>休学</c:when><c:when test='${bean.status eq 6 }'>退学</c:when><c:otherwise>在读</c:otherwise></c:choose>"
							readonly="readonly" />
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<!-- <a href="javascript:history.back();" class="btn btn-default">返回</a> -->
					</div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>